home *** CD-ROM | disk | FTP | other *** search
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- __________________________________________________________________________*
- *__________________||
- | | | | *
- * |
- || | | | *
- * ||
- PCS/GENEVA REFERENCE File Commands Ed: a Generic Editor Scheme Editor C*
- *ommands
- Version4.02||_cO1993LarryBartholdi,MarcVuilleumierCtrl-XCtrl-VvisitafileAutoind*
- *entisactiveandcolo||rchangesoneachparenthesislevel.
- E-Mail:sche|mege@cui.unige.ch_FTP:cui.unige.ch:pub/pcsCtrl-XCtrl-Ssavethebuffer*
- *Edisaneditortoolki|tusingasubsetofBrief'skeysequences
- | (make-editor=[window])['EXIT-FREELY]*
- *)abasiceditorobjec|tCtrl-AenlargemarkaroundSchemeexpression
- | Ctrl-XCtrl-Wwritethebuffer(make-enhanced-editor=:::))Cdit*
- *to,withadditionalf|eaturestrl-ZmarkthebiggestSchemeexpression
- | Ctrl-XCtrl-Iinsertafile Ctrl-F10evaluat*
- *emarkedexpression |
- Edwin: the |TraditionalCEditortrl-XCtrl-Pputaregiontoafile(make-color-editor=::*
- *:)) ditto,withbloc|khighlight
- | Ctrl-XCtrl-Qtoggleread-onlyflag(make-scheme-editor=:::))A*
- *ditto,withscheme-s|pecificruleslt-F10evaluatecurrentfile
- Edwinisasop|histicatededitorusingEmacs'keysequences Tab completesy*
- *mbolorreindentline|/block
- | Meta-"ignorechangesmadetothebufferExamples:Shift-Tabprepa*
- *retoaddacomment |
- (edwin)star|tstheeditor (define ed (make-[:::-]editor));crea*
- *teafull-screenedit|orAlt-Q<key>usekey'sbasicdefinition
- (remove-edw|in)forgetstheeditor (ed 'REMAP-KEY;27r'@GOTO-LINE)emapEs*
- *cto"gotoline" |
- (edwin-rese|t-lines)resetstheconsoletofull-screenBreaking & Indenting *
- * |
- Meta-canbeE|scapeorCtrl-Z. (ed [filename]);opentheeditor *
- * |
- | Ctrl-Oopentheline Tocreateamulti-windoweditor,definetw*
- *oormoreeditorsindi|fferentDriving an Editor
- | Returninsertalinebreak *
- * |
- ___Nex|tPrevious_Ctrl-Jinsertalinebreakandindentwindows;scrapbookandkeystr*
- *okeassignementswil|lbesharedbyall.Edisassumedtobeaninstanceofanappropriateedi*
- *t@
- Charact|erCtrl-FCtrl-B (ed [message]m[*
- *arguments])essage |defaultsto'OPEN
- | Tab indenttheline(accordingtoSchemesyntax) *
- * |
- WordMet|a-FMeta-B Meta-Ctrl-QindentthenextSchemeexpressionBasic'EditorOComm*
- *andsPEN[filename]p|op-uptheeditor,handlecommands
- LineCtr|l-NCtrl-P _ 'SAFE ensure*
- *currentbufferissav|ed
- Sentenc|eMeta-AMeta-E Step |"| JumpPgUp 'CLEAR clearb*
- *uffer |
- Paragra|phMeta-]Meta-[Miscellaneous _ _$l_! Ctrl-_$lCtrl-_! *
- * |
- | |_|_|_| |_| 'NA|_|ME[new-va*
- *lue]:::::::::::::)|nameofbuffer
- ScreenC|trl-VMeta-VCtrl-Ssearchforwardincrementally|#|_PgDn 'BUFFER[new-val*
- *ue]::::::::::) ali|stofstrings
- ListMet|a-Ctrl-NMeta-Ctrl-P 'POSITION[new-v*
- *alue]::::::::) cur|sorposition
- S-ExprM|eta-Ctrl-FMeta-Ctrl-BCtrl-Rsearchbackwardincrementally1Ctrl-PgUpDel*
- *ete'INSERT[new-val|ue]::::::::::) #Fwheninoverwritemode
- | Ctrl-XCtrl-MtoggleFundamental/SchememodeHome$lEndBackSpac*
- *e$lDel |
- | Ctrl-X!togglefull/splitscreen 'TAB[new-value]*
- *::::::::::::::) ta|bexpansionwidth
- ___Las|tFirst____ Ctrl-PgDn 'TABULIZE-MODE[*
- *new-value]:::) 'CO|MPRESS,'NORMALor'EXPAND
- LineMet|a->Meta-< Meta-Ctrl-Zevaluatethemark 'SEPARATORS[new*
- *-value]::::::) str|ing(usedforwordmove)
- | Meta-Ctrl-XevaluatethenextSchemeexpressionAlt-Itogglei_ns*
- *ert/overwritemode'|CASE-SENSIVITY[new-value]:) #Fwhendisabled
- | Meta-OevaluatethebufferAlt-Gg_otoline *
- * |
- Mark Comman|ds Ctrl-XCtrl-ZsuspendedwinAlt-Kk_illtoendofline'COLORS[new-*
- *value]::::::::::) |associativecolorlist
- | 'COMMENT-COLUMN*
- *[new-value]:) colu|mn#
- Ctrl-@ seta|mark Ctrl-XCtrl-CexittheeditorAlt-Dd_eletecurrentline'INDENT-T*
- *OKENS[new-value]::|:) listofspecialtokens
- Meta-@ mark|aword Ctrl-LredrawthescreenCtrl-Lrefreshdisplay 'INPUT-PORT[new*
- *-value]::::::) por|tusedforinput
- | Ctrl-Urepeatacommand F7 recordakeystrokesequence *
- * |
- Meta-Ctrl-@|markaSchemeexpressionCtrl-GabortthecurrentcommandF8replayakeystroke*
- *sequence'DO-STRING|stringfeededitorwithkeystrokes
- Meta-H mark|thewholeparagraph 'READ-ACTION)::*
- *::::::::::::::anac|tion:thenextevent
- Ctrl-XHmark|thewholebufferCtrl-QquotethenextcharacterF10executeacommandbyname'H*
- *ANDLE-ACTIONaction|processonecommand
- Ctrl-XCtrl-|XexchangecurrentpositionandmarkCtrl-Ttranspose(swapthelasttwocharac*
- *ters)Alt-Ee_ditano|therfile'REMAP-KEYkeyfunction
- | Alt-Wwritefiletodisk *
- * |
- | _ key is(list**
- * [:::Ascii2] Ascii|1)
- | Inside (%system-file-nameA"EDWIN.INI")lt-Ochoosenewo_utpu*
- *tnamefunction if(l|ist* [(contextaction):::] default-action)
- Kill/Unkill|Commands Alt-Rr_eadafileintocurrentcontext is*
- *~(ed)-!boolean |
- | (set-edwin-keydkeyehandler)fineanewsequenceAlt-Xex_itedit*
- *or| |
- Backspacede|letethecharacterbeforethecursor | action isach*
- *aracter,astring,or|asymbol:
- Ctrl-D dele|tethecharacteratthecursor(remap-edwin-keydnew-keyeold-key)fineanali*
- *assequence|'@LEFT'|@WORD-LEFT'@HOME
- Meta-\ dele|teallspaces&tabsaroundthepointHerekey canbeacharacteroralistofchara*
- *cters.|'@RIGHT'@WO|RD-RIGHT'@END
- | Predefinedcharsaremeta-char,alt-char,ctrl-x-charandEnhanc*
- *ed|Editor'Commands|@UP'@PAGE-UP'@TOP-OF-BUFFER
- Meta-Spaced|eleteallspaces&tabsexceptone UseaColorEditorifyouwantblockhighlig*
- *htfeatures.| |
- Meta-D kill|thenextwordctrl-z-char. | '@D*
- *OWN '@PAGE-DOWN'@E|ND-OF-BUFFER
- Meta-Backsp|acekillthepreviousword Alt-Mm_arkblock | '@D*
- *EL '@DELETE-TO-EO|L'@DELETE-LINE
- Ctrl-K kill|tillendofline Alt-Llineblock | '@B*
- *ACKSPACE'@TAB'@ENT|ER
- | _ | '@Q*
- *UOTE |
- Meta-K kill|tillendofsentence Alt-Cc_olumnblock | *
- * |
- Ctrl-XBacks|pacekillbackwardtobeginofsentence<Keypad->cutblock/linetoscrap| '@I*
- *NSERT-MODE'@GOTO-L|INE'@REFRESH
- Meta-Ctrl-K|killnextSchemeexpression <Keypad+>copyblock/linetoscrap| '@R*
- *ECORD'@PLAY'@EXECU|TE
- Ctrl-W kill|aregion <Keypad=>invertblockbounds(swapancho*
- *r)|'@LOAD'@READ-IN|TO'@WRITE
- | | *
- * |
- Meta-W copy|aregion Ins insertscrapintotext| '@R*
- *ENAME'@EXIT |
- Ctrl-Y yank|backakill Del deleteblock | '@S*
- *EARCH'@REPEAT-SEAR|CH'@CASE-SENSITIVITY
- Meta-Y unki|llusingpreviouskillringentry Alt-Ww_riteblock/filetodisk| *
- * |
- Meta-Ctrl-W|appendnextkilltoprecedingkill | '@T*
- *RANSLATE'@REPEAT-T|RANSLATE'@REPLICATE
- | Alt-[1:::3]dropabookmark| '@B*
- *OOKMARK-[1:::3]'@J|UMP-TO-[1:::3]
- Ctrl-XCtrl-|Kexpungekillringentry Alt-J[1:::3]jumptobookmark| '@M*
- *ARK-BLOCK'@LINE-BL|OCK'@COLUMN-BLOCK
- | Ctrl-_Rreplicateacommand| *
- * |
- | _ | '@C*
- *UT-BLOCK'@COPY-BLO|CK'@INSERT-BLOCK
- | Ctrl-F5togglecasesensivity| '@C*
- *ANCEL-BLOCK'@SWAP-|ANCHOR
- | Alt-SorF5s_earchstring| *
- * |
- | Shift-F5repeatprevioussearch| '@M*
- *ARK-EXPR'@MARK-DEF|'@SCHEME-PARENTHESIS
- | | '@C*
- *OMPLETION'@INDENT'|@COMMENT
- | Alt-TorF6t_ranslatestring| '@E*
- *VAL '@EVAL-BLOCK'@|SCHEME-ENTER
- | | |Shift-F6repeatpreviou|stranslate| *
- * |
- ________________|____________________|_____________________|______________*
- *__________________||
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- __________________________________________________________________________*
- *__________________||
- | | | | *
- * |
- || | | | *
- * ||
- BGI: the Graphics PackageBitmapping Hershey Fonts Using the Mouse
- || (get-pixel=point)) colorThispackageisanenhancedalternativ*
- *etoout-text,provid||ing
- Pointsanddi|stancesarerepresentedaspairs.(put-pixelvpointacolor)riousspecialsym*
- *bols,typesandalpha|betsaswellasasubsetofTAX.llcallsarehandledthrougha"mouse"o*
- *b@
- TheX-andY-c|omponentscanbearbitrarynumbers. (mouse messa*
- *ge [parameters]) =|) result E
- (set-world!|upper-left-point(lower-right-point)get-image=upper-left-point)lower*
- *-right-point)abina|rystring(load (%system-file-name "HERSHEY.FSL"))
- | (put-image new-upper-left-point(image-stringoput-mode)ut-*
- *hersheyHstringe[po|sition])rebutton-set is{'LEFT'RIGHT'CENTER}
- | put-mode is'COPY,'XOR,'OR,'AND,or'NOT button2button*
- *-set |
- | position isapoint buttons-down *
- *button-set |
- Control Sys|tem (image-size upper-left-pointslower-right-point)tring isas*
- *equenceofanyof: |
- | (get-view-settings)=) (ul-pointolr-point"clip?)small,"lar*
- *ge,"horiz,"vert, |
- (init-graph|[driver[mode[BGI-path]]])(set-viewportoupper-left-point"lower-right*
- *-point<clip?)font>|or"<font>@<scale>,where<font>is:'RESET
- driver is|'DETECT,'CGA,'MCGA,'EGA,'EGA64,'EGAMONO,(clear-viewport)|'SHOW *
- * |
- 'IBM8514,|'HERCMONO,'ATT400,'VGAor'PC3270 | smalllightbold 'HIDE *
- * |
- (set-write-|modewwmode)mode(is'COPYor'XORclear-device)|RM10RM2LRM2BRomanfamily *
- * |
- | (set-active-page page) | SL10SL2LSL2BSlantedfamily'INQ):*
- *::::::::::::::::::|::::(buttons-downxy)
- (restore-cr|t-mode) (set-visual-page page) | 'PRESSbutton::*
- *:::::::::::::) (bu|ttons-downpress-countxy)
- (set-graph-|mode [mode]) | SS10SS2LSS2BSans-seriffamily'RE*
- *LEASEbutton:::::::|:::::) (buttons-downrelease-countxy)
- (close-grap|h) | GR10GR2LGR2B aefflffl~family *
- * |
- (graph-defa|ults) Writing Text | 'MOVExy *
- * |
- | | AN20GO20OE20Antique,Gothic&OldE*
- *nglish'LIMITS 'HOR|IZONTALx0x1
- (detect-gra|ph) (out-text-xy start-point|text-string)SY10SY20CY20Symbols&*
- *Cyrillic'LIMITS 'V|ERTICALy0y1
- (get-mode-r|ange [driver]) and<scale>isinteger or(integerx,in*
- *tegery),'LIMITS 'B|OTHx0x1y0y1
- (get-graph-|mode) (out-text text-string) *
- * |
- (install-us|er-driver=name))(asymbol(driver)get-text-settings)=)o(fontpdirectio*
- *nlsizeahoriz-justi|vert-just)ntextorsymbols(e.g."See'note""dagger"),SHAPEshape
- | (set-text-style font directionosize)grouping{}tosave/rest*
- *oresettingsanddeli|mititems,symbol or(x-hot-spoty-hot-spotand-maskxor-mask)
- name isas|tring(filenamewithoutextension)fontois'DEFAULT,'TRIPLEX,'SMALL,'SAN*
- *S-SERIF,'GOTHIC,^<|item>or`<item>forsuper-orsub-scripts'CURSORsymbol:::::::::*
- *:@
- (install-us|er-fontaname)symbol(font)'SCRIPT,'SIMPLEX,'TRIPLEX-SCR,'COMPLEX,'EU*
- *ROPEANor"|'CENTER'|LEFT'RIGHT'SMALL'ARROW
- | Bewarethat"'sinstringsmustbedoubled*
- *!| |
- | 'BOLD |'UL-POINT'UR-*
- *POINT'LL-POINT'LR-|POINT'HAND
- Drawing | direction is'HORIZor'VERT |'KEYBOARD'DIS*
- *K'STAR4'STAR6'TARG|ET
- | size isanintegerbetween1and10,or0fordefault|'X'CROSSHAI*
- *R'CROSS'MOVE'BLOCK|
- (line start|-point end-point)(set-text-justifyDhoriz-justevert-just)bugging|Too*
- *ls'CIRCLE'EXCLAIM'|HOURGLAS'CLOCK'KITE
- (rectangle |upper-left-pointhlower-right-point)oriz-just is'LEFT,'CENTERor'RIGH*
- *T| |
- | |'MESH'SQUARE'*
- *CALIPERS'CRAYON'ER|ASER
- (draw-poly |list-of-points)vert-just is'BOTTOM,'CENTERor'TOPInthissection,proci*
- *saproceduretodebug|.|'HAIRS'HUMAN'IBAR'LASSO'PAINTCAN
- (circle cen|ter-point radius)(set-user-char-size(x-ratioby-ratio)reak[-entry,-e*
- *xit,-both]bproc)re|ak|break-entry'PENCIL'PENCIL2'PLIERS'SWORD'THE-BOOT
- (arc center|-point start-angle(end-angletradius)ext-size=text-string))padistanc*
- *erimesinspect;bind|s*ARGS*,*PROC*and*RESULT*|'SCISSORS'SCREWDRIVER
- (ellipse ce|nter-point start-angle end-angle distances) | *
- * |
- | (unbreak[-entry,-exit]uproc)nbreakki*
- *llsbothbreakpoints|'TEXT-TYPE 'SOFTWAREand-itemxor-item
- (get-arc-co|ords)=) (center-pointUstart-pointsend-point)ing(Colortrace[-entry,-*
- *exit,-both]tproc)r|aceatrace-entrynd-itemandxor-itemare(character.attribute)
- (get-aspect|-ratio) (untrace[-entry,-exit]'proc)TEXT-TYP*
- *E 'HARDWAREstart-r|owend-row
- (set-aspect|-ratiosfactor)etscircles'andarcs'x-yaspectPredefinedcolorsare: *
- * |
- fa|ctor isafraction,passedasapair|(advise-entrysprocpspy)y'is~(procarg*
- *senv)SMOOTH['CHECK||'ENABLE|'DISABLE]PrecisePointservices
- | | 'BLACK(0)'BROWN(6)'LIGHT-CYAN(11)(advise-exitsprocpspy*
- *)y'is~(procargsenv|retval)HANDLER[new-value]::::::::) previoushandler
- (get-line-s|ettings) | 'BLUE(1)'LIGHT-GRAY(7)'LIGHT-RED(12) ahandleris(e*
- *vents.proc) |
- (set-line-s|tyle line-style|user-pattern'thickness)GREEN(2)'DARK-GRAY(8)'LIGHT-*
- *MAGENTA(13)events2|('MOVE'LEFT-DOWN'LEFT-UP'LEFT'RIGHT-DOWN
- line-styl|e is'SOLID,'CENTER,'DOTTED,'DASHEDor'USER-BIT|'CYAN(3)'LIGHT-BLUE(9*
- *)'YELLOW(14)The In|spector
- thickness|is'NORMAL(1),'THICK(3)oraninteger| 'RIGHT-UP'RI*
- *GHT'CENTER-DOWN'CE|NTER-UP'CENTER'UP
- (move-to(po|int)move-rel|distances)'RED(4)'LIGHT-GREEN(10)'WHITE(15)(inspect)st*
- *artstheinspector'D|OWN'BUTTONS)
- | | 'MAGENTA(5) procis~(even*
- *tsbuttons-downxymi|ckeys-xmickeys-y)
- (line-to(po|int)line-rel distances) ? displaythecommandsummary'ENABLE'*
- *DISABLE |
- | (get-color)(get-bk-color)!resetinspect 'PEN-ON 'PEN-O*
- *FF |
- | (set-color(color)set-bk-color color) *
- * |
- Filling | (get-max-color) Ctrl-Adisplaya_llenvironmentframebin*
- *dings'EXCLUDEx0y0x|1y1
- | (get-palette-size) Ctrl-Bdisplayprodecurecallb_acktrace*
- *'MICKEY-RATIOxy |
- (flood-fill|start-point stop-color) Ctrl-Cdisplaythec_urrentenvironmentb*
- *inding'SPEED-THRES|HOLDspeed
- (bar upper-|left-point(lower-right-point)get-palette)(get-default-palette)Ctrl-*
- *Dmovedowntocallee'|sstackframe'SENSITIVITY[new-value]:::) (xyspeed)
- (bar-3d upp|er-left-point(lower-right-pointsdepthedraw-a-top?)t-palette entry c*
- *olor)_ |
- | (set-rgb-palette entryCredtgreenrblue)l-Ee_ditavariable's*
- *binding'MICKEYS)::|:::::::::::::::::(xy)
- (fill-poly |list-of-points)(set-all-paletteCcolor-list)trl-Gg_o(resumeexecution*
- *)relativemovement.|AMickeyis 1=200in
- (fill-ellip|se center-point distances) Ctrl-Ievaluateanexpression&i_nspectt*
- *heresult'POINTER-P|AGE[new-value]::) page
- (pie-slice |center-point start-angle end-angleCradius)trl-Llistthecurrentproced*
- *ure'INFORMATION[ne|w-value]:::) (versiontypeIRQ)
- | _ *
- * |
- (sector cen|ter-point start-angleMend-angleidistances)scellaneousCtrl-Mrepeatth*
- *ebreakpointm_essag|etypeis'BUS,'SERIAL,'INPORT,'PS/2or'HP
- (get-fill-s|ettings)=) (fill-style color) Ctrl-Pmovetothep_arentenvironment'sf*
- *rame'LANGUAGE[new-|value]:::::::) language
- (set-fill-s|tyle fill-style(color)get-xy)(get-max-xy)Ctrl-Qquit(resettotop-leve*
- *l)languageis'ENGLI|SH,'FRENCH,'DUTCH,'GERMAN,'SWEDISH,
- fill-styl|e is'EMPTY,'SOLID,'LINE,'[LT][BK]SLASH,'HATCH,(get-driver-name)(get*
- *-mode-name_mode)'F|INNISH,'SPANISH,'PORTUGESEor'ITALIAN
- 'XHATCH,'|INTERLEAVE,'CLOSE-DOTor'WIDE-DOT(get-max-mode)Ctrl-Rr_eturnfrombrea*
- *kwithavalue'INTERR|UPT-RATEraterate is'NONE,30,50,100200
- (get-fill-p|attern)=) (fill-pattern(color)graph-error-msgCerror-id)trl-Smovetos*
- *_onenvironment'sfr|ame
- | Ctrl-Umoveu_ptothecaller'sstackframe*
- * |
- (set-fill-p|attern fill-pattern(color)graph-result)Ctrl-Vevaluateoneexpressioni*
- *nthecurrentenviron|ment
- fill-patt|ern isalistofintegers _ *
- * |
- | Ctrl-Ww_here(displaythecurrentstackf*
- *rame) |
- | *
- * |
- | | | | *
- * |
- ________________|_____________________|____________________|______________*
- *__________________||
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- __________________________________________________________________________*
- *__________________||
- | | | | *
- * |
- || | | | *
- * ||
- PCS/GENEVA REFERENCE Operators Numbers Characters
- Version4.02||_cO1993LarryBartholdi,MarcVuilleumierCurrentreleaseusesIeee64-bitf*
- *loatingpointandpre||ciseinteger#"BACKSPACE #"ESCAPE #"NEWLINE #"PAGE
- E-Mail:sche|mege@cui.unige.ch_FTP:cui.unige.ch:pub/pcsBooleanscomputationsinran*
- *ge#"1040000.Exactf|loatingpoint,rationalandRETURN #"RUBOUT #"SPACE #"TAB
- | *
- * |
- | #T#F '()iscurrentlyevaluatedto#Fcomplexnumbersarecurr*
- *entlynotimplemente|d.(char? obj)
- | (boolean? obj) (number? obj) (char->integer*
- *uchar)singAsciicha|racterset
- Semantics | (complex?cobj)urrently number? *
- * |
- | (real? obj)currently number?(string=*
- *char):::)astringbu|iltofchars
- | (char-downcase*
- * char) |
- Binding For|ms Equivalence Predicates(rational?cobj)urrently(integer?cha*
- *r-upcase char) |
- | (integer? obj) (char-ci[<,<=,*
- *=,>,>=]?ccharchar)|ase-insensitive
- (lambda for|mals-list exp(:::)eq?tobj1obj2)estsphysicalequalitywhetherobj resul*
- *tsfromexactinteger|computations12
- (named-lamb|da (name formals)(expe:::)qv?tobj1obj2)estsnumbers,strings&characte*
- *rs(float?(obj)char|[<,<=,=,>,>=]? char1char2)
- (rec label |exp) (equal? obj1obj2)testsvisualappearances *
- * (and(num|ber? obj)
- (let[*,rec]|[label] ((var value) :::) exp :::) *
- * (not (|integer? obj)))
- | (exact? number)=) currentlySinteger?*
- *trings |
- (do((var [i|nit[step]]):::)Pairs & Lists (inexact?=number)) currently float? *
- * |
- (terminate|?result-exp :::) Stringsareencl*
- *osedin":::";Allind|exesstartat0
- statement |:::) '() theemptylist(negative? number) *
- * |
- | (zero? number) (string? strin*
- *g) |
- | (pair? obj) (positive? number) (string-null? *
- *string) |
- Fluid Envir|onment (null? obj) (number->stringrnumbera[radix])dix(i*
- *s2,8,10or16string-|>list=string)) alistofchars
- | (atom? obj) (not (pair? obj)) (string->numbe*
- *rrstringa[radix])d|ix is2,8,10or16
- (fluid-boun|d? var) (list? obj)=) #Tifobj(is'()or(objf.list)loat=number)) Iee*
- *e64-bitrepresentat|ion
- (fluid var)|=) var'sfluidbinding (truncate=number)) number(roundedtoz*
- *erostring->symbol |string)
- | (list->stream list) (round number)=) nearestinteger,tieb*
- *reakseven(string->|uninterned-symbol=string)) auniquesymbol
- (fluid-lamb|da formals-list(expl:::)ist->string(list)floor=number))(integer2]nu*
- *mber-1;mnumber]ake|-string length [init-char])
- (fluid-let |((var value)(:::)lexpi:::)st->vector list) (string-append*
- *r[string]e:::)turn|s""whennoarguments
- (set-fluid!|varcobj)hangesafluidbinding(implode=list))(asymbol(builtoflist'sele*
- *ments)ceiling=numb|er)) integer2[number; number+1[
- | (1+ number) ADD1 (string-copy s*
- *tring) |
- | (append[!]alistp:::)pend!altersalllistsbutthelast(-1+(num*
- *ber)SUB1string-fil|l! string fill-char)
- | (apply ~(arg:::) argument-list)([minus,-]unumber)naryminu*
- *s(string-length=st|ring)) aninteger
- Literals | ([assoc,assq,assv] obj pair-list) (string-ref=st*
- *ring)index)nthchar|ofstring
- | (c[[a,d] :::]rupair)pto4levelsof"a"and"d"(/inumber)nverse*
- * |
- (quote patt|ern) '(pattern) (abs number) (string-set! s*
- *tring index char) |
- (quasiquote|pattern) `(pattern)(cons obj1obj2)(+ [number](:::)- [number1number2*
- *](:::)string-ci[<,|=]cstring1string2)ase-insensitive
- (unquote ex|pression) ,(exp).Validwithinquasiquote(copy(list)*([number]/:::)[nu*
- *mbernumber](:::)st|ring[<,<=,=,>=,>] stringstring)
- (unquote-sp|licing exp),@(exp).Validwithinquasiquote([delete!,delq!] obj list) *
- *1 2 | 1 2
- | (last-pair list) (< [number](:::)>= [number](:::)subs*
- *tring=string)start|end)string[start:::end-1]
- | (> [number](:::)<= [number] :::) *
- * |
- | (length list) (= [number](:::)<> [number](:::)subs*
- *tring-fill! string|start end fill-char)
- Sequencing |& Control (list obj :::) (min [number](:::)max [number](:::)s*
- *ubstring-find-next|-char-in-set string start end char-set)
- | (list* objc:::)reatesadottedlist (substring-fin*
- *d-previous-char-in|-set string start end char-set)
- (if predica|te consequent [alternative]) (sqrt number) =) indexor#F*
- *.char-set isachara|cterorastring
- (when predi|cate exp :::)(list-refilistnindex)dex(startsat0exp [base]eexponent)*
- *xpt |
- (apply-if p|redicate ~(trigger)(exp-false)list-tail(listlindex)og(numbers[base]*
- *)ubstring-find-nex|t-string[-ci] string start end match)
- (case item |(selector exp(:::)[:::[(elsemexp:::)])ember,memq,memv]=obj)list)lis*
- *t-tailstartingwith|obj(or#Fsin(number)asin(number)substring-find-previous-str*
- *i@
- | (reverse[!]rlist)everse!destroysitsargument(substring-mov*
- *e-[left,right]! st|ring1start1end1string2start2)
- selector |isitem-value or(item-value:::) (cos number)(acos number)Thedirectio*
- *nisimportantonlyif|thesubstringsoverlap
- (cond claus|e :::[(else(exp:::)])set-c[a,d]r!(pairobj)tan(number)atan number [d*
- *ivisor]) |
- clause is|(predicateexp:::)or(predicate=>~(trigger)) (substring-ci[*
- *<,=] string1start1|end1string2start2end2)
- (and exp ::|:)=) valueoflasttrueexp,or#F(for-eachc~(arg:::)alistl:::)lsprocwith*
- *anitemofeachlist(e|ven?(integer)substring[<,<=,=,>=,>] string1start1end1strin*
- *g@
- | (map ~(arg:::)=list):::)listofresultingvalues(odd?(intege*
- *r)sprintf=template|[obj]):::)astring
- (or exp :::|)=) valueoffirsttrueexp,or#F (sscanf input-*
- *string=template)) |([obj]:::)
- (not exp) | (integer->stringrintegeraradix)dix i*
- *sanyarbitraryinteg|erth
- (begin exp1|:::expn)=)Sexpntreams: Lists Evaluating(oniDemandnteger->char=integ*
- *er)) n characterfr|omAsciicode
- (begin0 exp|:::exp)=) exp (ascii->symbol=integer)) aone-charsy*
- *mbol |
- 1 |n T1HE-EMPTY-STREAM (quotientrdividendodivisor)undstozer*
- *ooSymbols |
- | (stream? obj) *
- * |
- | (remaindersdividendadivisor)mesignas*
- *dividendoSymbolsca|nbeenclosedin_:::_
- Syntax & Er|rors (empty-stream? stream)(divide dividendrdivisor)oundsto-1(*
- *symbol? obj) |
- | (stream->list stream)(modulo dividendsdivisor)amesignasdi*
- *visor |
- (alias new-|name old-name)(cons-stream obj1obj2)(gcdgintegerr:::)eatestcommondi*
- *visor(symbol->stri|ng symbol)st
- (syntax pat|ternpexpansion)attern(isaliststructurehead stream) (symbol->ascii*
- *=symbol)) Asciicod|eof1 charofsymbol
- (define-int|egrablennameavalue)me willbeexpandedinline(lcmlintegere:::)astcommo*
- *nmultiple(explode=|symbol)) alistofone-charsymbols
- (macro name|expander)expander(is~(exp)tail stream)(bitwise-and integer(:::)gens*
- *ym=[string,number]|)) anewuninternedsymbol
- | (delayed-object? obj)(bitwise-or integer :::) *
- * |
- ifexpande|r is'(),name(isunaliaseddelayfexp)reezesandmemoisesexp(bitwise-xoro*
- *integerp:::)tional|lysetsthestringprefixorinitializethecountersuffix
- | (force delayed-object) (property symb*
- *ol=[property-name[|new-value]])) oldvalue(s)
- (assert pre|dicate message :::) (random range)=) anon-negativeintege*
- *ri<rangefnew-value|is#!UNDEFINED,thepropertyisremoved
- (bkpt messa|ge irritant-exp)(freeze exp) (randomizer[integer])andomseed;defau*
- *ltstotime-of-day |
- (error mess|age irritant-exp(:::)thaw freezed-object) *
- * |
- | *
- * |
- | *
- * |
- | | | | *
- * |
- ________________|_____________________|____________________|______________*
- *__________________||
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- | *
- * |
- __________________________________________________________________________*
- *__________________||
- | | | | *
- * |
- || | | | *
- * ||
- Ports & Windows Vectors Command line SCOOPS: the Ob*
- *ject Package
- 'CONSOLE ||aport:thedisplayandkeyboardVectorsareenclosedin#(:::) *
- * ||
- MAX-CONSOLE|(lines.cols),thedisplay'ssize SCHEME-TOP-LEVELfluidlyboundtotheint*
- *erpreter'sloop(loa|d-scoops)loadScoopspackage
- | (vector? vector) (reset) resetsthecurrentinterpreterl*
- *oop |
- PCS-STATUS-|WINDOWthebottomline'swindow(vector->list(vector)reset-scheme-top-le*
- *vel)bindsthetop-le|veltoitsdefault(define-class name
- STANDARD-[I|NPUT,OUTPUT]thestandardI/Oports(make-vector(lengths[init-value])che*
- *me-reset)[(classva|rsitem :::)]
- [INPUT,OUTP|UT]-PORTfluidlyboundtocurrentports th *
- * |
- | (vector obj=:::)) anewvector(%c=n)) queryofn command-line*
- *entry[(instvars[it|em,active-item]:::)]
- (port? obj)| (vector-fill! vector obj)(%d n)=) resultofnthcommand-line*
- *entry[(mixinsitem |:::)]
- (window? ob|j (vector-length=vector)) aninteger [(options[*
- *option] |
- (input-stri|ng? obj) (vector-refivectornindex)dex(startsat0get-history)=)[alis*
- *tofstrings:previou|sinputlines(option variable :::)]:::)])
- (input-port|? port) (push-history string[-list]) *
- * |
- | (vector-set! vector index(obj)clear-history) item is(var *
- *init-value)orjustv|ar toleaveitunbound
- (output-por|t? port) active-item *
- *is(var (active ini|t-value get-proc set-proc))
- (char-ready|? port) (pcs-learn-symbols symbol-list)optio*
- *n is[gettable,sett|able,inittable]-variables
- (eof-object|? obj)) Environments (pcs-recognize-symbol=symbol)[len])c*
- *ompletionofsymbol |
- (open[-bina|ry]-[input,output]-file filename)(pcs-macro-keys ((key.replacement)*
- *:::))option applie|sonallvariableswhennoneisspecified
- | USER-GLOBAL-ENVIRONMENTparentofUSER-INITIAL-ENVIRONMENTke*
- *y(isanAsciicodeora|scan-code.#x100define-method (class method) ([parameter] :*
- *:@
- (open-exten|d-file=filename))UaportSER-INITIAL-ENVIRONMENTtop-levelenvironment(*
- *delete-method (cla|ss method))
- (open-input|-string string)(environment? obj)replacement isa[dotted-]listofstri*
- *ngs(make-instance |class var init-val :::)
- (close-[inp|ut,output]-port port) *
- * |
- | (unbound? symbol1:::env) (class-of-obje*
- *ct=object)) name |
- (current-[i|nput,output]-port)=)(aportaccesslsymbol1:::env)ooksupsymbol1in(:::i*
- *nenv)(send[-if-han|dles] object msg [arg] :::)
- (line-lengt|h [port]) (define identi[exp])dentMisanameoraformals-listiscellaneo*
- *ussend-if-handlesr|eturns#Fwhenobject cannothandlemsg
- (current-co|lumn [port])(make-environment=scheme_definition_or_exp):::)anenv *
- * |
- (flush-inpu|t [port]) PCS-DEBUG-MODEwhetherdebuginformatio*
- *nisgenerated(class|-compiled? class)
- | (the-environment)=) thecurrentlexicalenvironmentPCS-INTEG*
- *RATE-PRIMITIVES |
- (read [port|])readafullSchemeexpression(procedure-environment=procedure))wproce*
- *dure'senvironmenth|etherprimitivesareinline-expanded(compile-class class)
- (read-atom |[port]) (environment-parent env) (name->class=n*
- *ame)) class |
- (read-char |[port]) PCS-INTEGRATE-INTEGRABLES(rename-cla*
- *ss (class name)) |
- (read-line |[port]) (environment-son=env)) an(empty)childwhetherdefine-integr*
- *able'sareinline-ex|panded(described[class,object])isplaysafulldescription
- | (environment-bindings=env))*alistofname-valuepairsTHE-NON*
- *-PRINTING-OBJECT* |
- (display ob|jh[port])uman-readablestyle;(princset! ident exp) (classvars=cla*
- *ss)) alistofclassv|ariablenames
- (write obj |[port])machinestyle;iprin1,printdentnisname,(fluidename)or(accessvn*
- *ame1:::env)erprint|ed,evenbywrite(all-classvarsiclass)ncludesinheritedclassva*
- *r@
- (write-char|char [port]) PCS-GC-MESSAGE (instvars clas*
- *s) |
- (writeln ob|j:::) (unbind symbol env) stringdisplayedduringgarbagecollec*
- *ting(all-instvars |class)
- 1 | (eval exp [env]) PCS-GC-RESET *
- * |
- (pp obj [po|rt[width]])prettyprintsSchemeobjectsstringnormallydisplayedinthesta*
- *tuswindow.Contains|up(methods class)
- (newline [p|ort]) to2"%lu":freeschemememoryandkernel*
- *memory(in(all-meth|ods class)
- (fresh-line|[port]) Procedures, Continuations & Engines (mixins class)*
- * |
- (print-leng|th=obj)) aninteger bytes) (getcv class=v*
- *ar)) valueofvar in|class
- | (procedure?#obj)Tforproceduresandcontinuations *
- * |
- (set-line-l|ength! length([port])continuation?Cobj)LOCK-TICKnumberoftickspersec*
- *ond(setcv class va|r exp)
- (get-file-p|osition=port)) aninteger (clock) =) numberoftickssincestartof*
- *PCS |
- (set-file-p|osition! port(num-bytescwhence)all/cct~(continue))call-with-current*
- *-continuationherea|re216ticksperhour,i.e. 18:2persecond
- whence is|'SET(0),'CUR(1)or'END(2)(make-enginetthunk)hunk(is~(tickssuccessfai*
- *lure)time ['UNIX|'|GM|'LOCAL] [language] [source-time])
- | (engine-returnrvalue)eturnsvalue totheengine'scallerDirec*
- *tory Structure |
- (call-with-|[input,output]-file filename ~(port)) =) converted-time *
- * |
- | languagessupportedare'ENGLISHand'F*
- *RENCHbin execu|tablesandrun-timelibrairies
- (make-windo|w [label [border?]])Operating Systematime isaninteger(Unix-time)ora*
- *prefixofthelist:br|ief interfacetoBorland'seditor
- (window-cle|ar window) (secminhourmonth-daymonthyearweek-*
- *dayyear-day)doc | LaT X,PostScriptandAsciidocs
- (window-scr|oll-[up,down](windowd[start-line[end-line]])os-call progname parame*
- *ters [memory-to-fr|ee[restore-screen?]])E
- (window-del|ete window) source-time'sfieldsdefaulttocurren*
- *ttimevaluessamples| smallScheme-WEBdemos
- | (dos-chdir=directory-string)) previousdirectorysources/as*
- *m KernelTurboAss|embler3.1source
- (window-pop|up[-delete](window)dos-change-drive(drive-string)text-mode-Bios-mod*
- *e)1forpreviousmode|,#x40for50lines/c KernelBorlandC++3.1source
- (window-get|-attribute(windowdname)os-delete(filename)delete-filefull-screen)ma*
- *kestheconsoleporta|sbigaspossible/s Kernel4.02Schemesource
- name is'[|BORDER,TEXT]-ATTRIBUTESor'WINDOW-FLAGS(dos-get-dir=[drive-string]))*
- *(astring:thecurren|tdirectorysplit-screensheight)hrinkstheconsoletothebottoml*
- *i@
- (window-set|-attribute! window name value) (gc-screen)positionsPCS-STATUS-WINDO*
- *W/bgi BGItools,v|arioussources
- | (dos-dir mask-string)=) alistoffilenames /hershey He*
- *rsheyfontsWEBsourc|e
- (window-rev|erse-text!(window)dos-get-env env-variable-name)(loadffilename)ilen*
- *ame/canbescheme,we|borFSLcodelisp LispcompatibilitySchemesource
- (window-get|-cursor=window))(apair:(lined.ocolumn)s-put-envdstring)oesn'tchange*
- *parent'senvironmen|t/web Scheme-WEB,varioussources
- (window-set|-cursor! window(cursor-linedcursor-column)os-search-filesfilespec)e*
- *archesuponPATH(fas|t-load FSL-filename)
- | (fast-save-file source-file[-list] [*
- *dest-file]) |
- (window-get|-position=window))(apair.Thetopisat(0d.o0)s-file-copy(source-filena*
- *meadest-filename)u|toload-from-file filename list-of-variables [environment])
- (window-set|-position!(windowdul-lineoul-column)s-renameccurrent-filenameanew-f*
- *ilename)nmovefiles|(transcript-on filename)
- (window-get|-size=window))(apairdos-file-size filename) *
- * |
- (window-set|-size! window(#lines%#columns)system-file-namepfilename)rependsPCSf*
- *iles'path(transcri|pt-off)
- | (edit pair)theyukkylisteditor *
- * |
- (window-sav|e-contents=window))(contents:binarystringfilename-split=filename))(*
- *(drivegpathcname[e|xt)compact?])invokesthegarbagecollector
- (window-res|tore-contents(windowfcontents)ilename-merge=(drive)pathfnameiext))l*
- *ename(freesp)=) am|ountoffreeSchemememory
- | *
- * |
- | (exit [DOS-return-value]) *
- * |
- | *
- * |
- | *
- * |
- | | | | *
- * |
- ________________|_____________________|____________________|______________*
- *__________________||
-